def doGet(request, session):
	
	
	query = "SELECT TOP 1000 * FROM [dbo].[fertilizer_nutrients_history]"
	data = system.db.runQuery(query)
	
	return {'json': system.util.jsonEncode(data)}